{% extends '::base.html.twig' %}

{% block body %}
<div class="container">
<h1> Lista de Gremios y Productos </h1>
<table class="table">
<tr>
	<th> Gremio </th>
	<th> Descripcion </th>
	<th> Productos</th>
</tr>
{% for service in services %}
<tr>
	<td> {{ service.name }} </td>
	<td> {{ service.description }} </td>
	<td>
			<table class="table">
				{% for product in service.products %}
				<tr>
					<td> {{ product.name}} </td>
					<td> {{ product.description}} </td>
				</tr>
				{% endfor %}
			</table>
</td>
</tr>
{% endfor %}
</table>

<h1> Codigo de reserva </h1>
<h3> {{ bookcode }} </h3>

<h1> formulario de registro del cliente </h1>
<div class="col-md-5">
{{form(form_customer)}}
</div>
</div>
{% endblock %}
